package com.hncboy.chatgpt.base.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/****************************************
 * @name com.hncboy.chatgpt.base.domain.entity
 * @description
 * @author limi
 * @since 2023-04-10 10:02
 ***************************************/
@Data
@TableName("chat_customer")
public class ChatCustomerDO {
    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Integer status;
    private String nickName;
    private String userName;
    private String passWord;
    private String email;
    private String phone;
    private String avatar;
    private String description;
    private Integer limits; // 每天默认5条聊天
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
